<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>邮件列表</title>
</head>
<body>
    Request header中获取用户名：${username} <br/>
    Cookie中获取用户名：${cookie.username.value}<br/>
    Session中获取用户名：${USERNAME_IN_SESSION}<br/>
    <c:forEach items="${list}" var="email">
        <p>${email}</p>
    </c:forEach>
</body>
</html>